package com.sub.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sp_third_menu")
public class SpThirdMenu{
    @Id
    @JsonProperty("id")
    @Column(name = "sp_third_menu_id")
    private String spThirdMenuId;

    @Column(name = "sp_second_menu_id")
    private String spSecondMenuId;

    @Column(name = "ad_client_id")
    private Long adClientId;

    private String name;

    private String url;

    private String icon;

    private String isactive;

    private String code;

    /**
     * @return sp_third_menu_id
     */
    public String getSpThirdMenuId() {
        return spThirdMenuId;
    }

    /**
     * @param spThirdMenuId
     */
    public void setSpThirdMenuId(String spThirdMenuId) {
        this.spThirdMenuId = spThirdMenuId;
    }

    /**
     * @return sp_second_menu_id
     */
    public String getSpSecondMenuId() {
        return spSecondMenuId;
    }

    /**
     * @param spSecondMenuId
     */
    public void setSpSecondMenuId(String spSecondMenuId) {
        this.spSecondMenuId = spSecondMenuId;
    }

    /**
     * @return ad_client_id
     */
    public Long getAdClientId() {
        return adClientId;
    }

    /**
     * @param adClientId
     */
    public void setAdClientId(Long adClientId) {
        this.adClientId = adClientId;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return url
     */
    public String getUrl() {
        return url;
    }

    /**
     * @param url
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * @return icon
     */
    public String getIcon() {
        return icon;
    }

    /**
     * @param icon
     */
    public void setIcon(String icon) {
        this.icon = icon;
    }

    /**
     * @return isactive
     */
    public String getIsactive() {
        return isactive;
    }

    /**
     * @param isactive
     */
    public void setIsactive(String isactive) {
        this.isactive = isactive;
    }

    /**
     * @return code
     */
    public String getCode() {
        return code;
    }

    /**
     * @param code
     */
    public void setCode(String code) {
        this.code = code;
    }

    public SpThirdMenu() {
    }

    public SpThirdMenu(String isactive) {
        this.isactive = isactive;
    }
}